<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.smartview.jboss.spring.dto.*" %>
<% 
 ArrayList list = (ArrayList)request.getAttribute("newsList");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Weather Information</title>
</head>
<body>
    <p><c:out value="${weatherInfo}"/></p>
    <p><a href="<spring:url value="/"/>">Home</a></p>
    
    
    <c:forEach var="i" items="<%= list %>">
   
	    <tr>
	        <td width="58" height="20">
	            <p align="center"><code>${i.title}</code></p>
	        </td>
	        <td width="318" height="20">
	            <p><code><a href="">${i.link}</a></code></p>
	        </td>
	        <td width="185" height="20">
	            <p align="center"><code>${i.guid}</code></p>
	        </td>
	        <td width="185" height="20">
	            <p align="center"><code><pre>${i.source}</pre></code></p>
	        </td>
	    </tr>
    </c:forEach>
</body>
</html>















